#pragma once

#include "Frame.h"
#include <string>
#include <vector>
using namespace std;

class Animation
{
public:
	Animation();
	virtual ~Animation();

	//Accessors
	string GetName() { return name; }
	vector<Frame>& GetFrames() { return frames; }
	bool GetIsLooping() { return isLooping; }
	bool GetIsPlaying() { return isPlaying; }
	SGD::HTexture GetImageID() { return imageID; }

	//Mutators
	void SetName(string x) { name = x; }
	void SetFrames(vector<Frame> x) { frames = x; }
	void SetIsLooping(bool x) { isLooping = x; }
	void SetIsPlaying(bool x) { isPlaying = x; }
	void SetImageID(SGD::HTexture x) { imageID = x; }

private:
	string name;
	vector<Frame> frames;
	bool isLooping;
	bool isPlaying;
	SGD::HTexture imageID;
};

